import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
import router from './router'
import 'virtual:svg-icons-register'
import 'uno.css'
import '@/styles/index.scss'

// If you want to use ElMessage, import it.
// import 'element-plus/theme-chalk/src/message.scss'
// import 'element-plus/theme-chalk/src/notification.scss'
// import 'element-plus/theme-chalk/el-input-number.css'

//import FcDesignerMobile from '@form-create/vant-designer'
// import FcDesigner from '@form-create/designer'
// 不包含移动端自适应预览,无需安装 vant 和 @form-create/vant
// import FcDesigner from '/path/to/fcDesignerPro/dist/oc/index.es.js'
import ElementPlus from 'element-plus'
import vant from 'vant';
import 'element-plus/dist/index.css';
import 'vant/lib/index.css';


const app = createApp(App)
import * as Icons from '@element-plus/icons-vue'
for (const [key, component] of Object.entries(Icons)) {
  app.component(key, component)
}
app.use(router).use(createPinia()).use(ElementPlus).use(vant)
app.mount('#app')
